package com.yiyahui.project.erp.service;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaAuditDiscount;

/**
 * 折扣审核Service接口
 * 
 * @author yiyahui
 * @date 2020-06-09
 */
public interface IYiyaAuditDiscountService 
{
    /**
     * 查询折扣审核
     * 
     * @param id 折扣审核ID
     * @return 折扣审核
     */
    public YiyaAuditDiscount selectYiyaAuditDiscountById(Long id);

    /**
     * 查询折扣审核列表
     * 
     * @param yiyaAuditDiscount 折扣审核
     * @return 折扣审核集合
     */
    public List<YiyaAuditDiscount> selectYiyaAuditDiscountList(YiyaAuditDiscount yiyaAuditDiscount);

    /**
     * 新增折扣审核
     * 
     * @param yiyaAuditDiscount 折扣审核
     * @return 结果
     */
    public int insertYiyaAuditDiscount(YiyaAuditDiscount yiyaAuditDiscount);

    /**
     * 修改折扣审核
     * 
     * @param yiyaAuditDiscount 折扣审核
     * @return 结果
     */
    public int updateYiyaAuditDiscount(YiyaAuditDiscount yiyaAuditDiscount);

    /**
     * 批量删除折扣审核
     * 
     * @param ids 需要删除的折扣审核ID
     * @return 结果
     */
    public int deleteYiyaAuditDiscountByIds(Long[] ids);

    /**
     * 删除折扣审核信息
     * 
     * @param id 折扣审核ID
     * @return 结果
     */
    public int deleteYiyaAuditDiscountById(Long id);

    void deleteByBillingMainId(Long billingMainId);
}
